package nettyexample.entity;


import lombok.Data;
import nettyexample.command.Packet;

import static nettyexample.command.Command.LOGIN_REQUEST;

/**
 * @author zoush
 * @time 2024/12/18 11:39
 */
@Data
public class LoginRequestPacket extends Packet {

    private Integer userId;
    private String username;
    private String password;


    @Override
    public Byte getCommand() {
        return LOGIN_REQUEST;
    }
}
